package com.education.wisdom.service;

import com.education.wisdom.pojo.OrderQuestion;

import java.util.List;

/**
 * 试题表 服务层
 *
 * @author d
 * @date 2021-03-04 15:45:19
 */
public interface OrderQuestionService {

    //查询试题表信息
    public OrderQuestion selectOrderQuestionById(Integer id);

    //查询试题表列表
    public List<OrderQuestion> selectOrderQuestionList(OrderQuestion orderQuestion);

    //新增试题表
    public int insertOrderQuestion(OrderQuestion orderQuestion);

    //修改试题表
    public int updateOrderQuestion(OrderQuestion orderQuestion);

    //删除试题表信息
    public int deleteOrderQuestionByIds(String[] ids);

    //单个删除试题信息
    public int deleteOrderQuestionById(Integer id);

    //根据题型查询试题
    String[] selectIdsByType(Integer type);
}